package com.yang.SpringTest.annotation.valueLearn;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p>ValueDemoTest测试类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.valueLearn
 * Ceate Time 2024-03-25 17:36
 */
@Slf4j
public class ValueDemoTest {

    public static void main (String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (ValueDemoConfig.class);
        ValueDemoConfig valueConfig = context.getBean (ValueDemoConfig.class);
        log.info ("valueConfig:{}", valueConfig.toString ());
    }
}

